// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue';
import App from './App';
import router from './router';
//配置element-ui
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
//配置mock.js
import Mock from './mock';
//配置iview
import iView from 'iview';
import 'iview/dist/styles/iview.css';


Vue.config.productionTip = false;


Vue.use(ElementUI);
Vue.use(iView);

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  template: '<App/>',
  components: { App }
})
